﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace Battleship
{
    public enum ContainerType { ORD, DAN, REF, EMP };

    // public enum ContainerType { A, B, C };

    public class Position
    {
        public int x, y, z;

        public Position(int x, int y, int z)
        {
            this.x = x;
            this.y = y;
            this.z = z;
        }

        public Position clone()
        {
            return new Position(x, y, z);
        }
    }

    public class ContainerModel
    {
        public String name;
        public ContainerType containerType;
        public bool isOld;
        public Position position;
        public int size;
        public Color color;
        public bool isDeparture;

        public ContainerModel(String name, ContainerType containerType = ContainerType.DAN, bool isOld = false, int size = 1, bool isDeparture = false, Position position = null)
        {
            this.name = name;
            this.containerType = containerType;
            this.isOld = isOld;
            this.position = position;
            this.size = size;
            this.isDeparture = isDeparture;
        }
    }
}
